<?PHP
$portfoliolist[] = array('label'=>'Buy Ticker', 'url'=>array('/portfolio/create', "port"=>$_GET['port'], "type"=>0));
$portfoliolist[] = array('label'=>'Sell Ticker', 'url'=>array('/portfolio/create', "port"=>$_GET['port'], "type"=>1));
$portfoliolist[] = array('label'=>'Share Dividend', 'url'=>array('/portfolio/createDividend', "port"=>$_GET['port']));
$portfoliolist[] = array('label'=>'Cash Dividend', 'url'=>array('/dividend/create', "port"=>$_GET['port']));
$portfoliolist[] = array('label'=>'Stock Split', 'url'=>array('/portfolio/createSplit', "port"=>$_GET['port']));
$portfoliolist[] = array('label'=>'Stock Rights', 'url'=>array('/portfolio/createOption', "port"=>$_GET['port']));
$this->menu=array(
	array('label'=>'Order Log', 'url'=>array('/portfolio/orderlog', 'port'=>$_GET['port'])),
	array('label'=>'Update Order Log', 'items'=>$portfoliolist),
	array('label'=>'Portfolio Performance', 'url'=>array('/portfolio/portfolioReturn', 'port'=>$_GET['port'])),
    array('label'=>'Portfolio Optimization', 'url'=>array('/stock/formula', 'port'=>$_GET['port'])),
	array('label'=>'Setting', 'url'=>array('/portfolioname/setting', 'port'=>$_GET['port'])),
	array('label'=>'Component of the Portfolio', 'url'=>array('/portfolio/component', 'port'=>$_GET['port'])),
);
?>